package com.wmx.jdbc_template_app.easypoi;

import cn.afterturn.easypoi.excel.annotation.Excel;
import cn.afterturn.easypoi.excel.annotation.ExcelIgnore;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * 员工导出实体类
 *
 * @author wangmaoxiong
 * @version 1.0
 * @date 2022/4/27 20:12
 */
@Data
public class EmpExportVO implements Serializable {

    @Excel(name = "员工编号")
    private Integer empno;

    @Excel(name = "员工姓名", width = 15)
    private String ename;

    @Excel(name = "职位", width = 15)
    private String job;

    @Excel(name = "领导编号")
    private Integer mgr;

    @Excel(name = "入职日期", format = "yyyy-MM-dd", width = 20)
    private Date hiredate;

    @Excel(name = "薪水（元）")
    private Float sal;

    @Excel(name = "奖金（元）")
    private Float comm;

    @ExcelIgnore
    private Integer deptno;

}
